package com.cheng.data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cheng.data.entity.CompanyMoveInfEntity;
import com.cheng.data.vo.CompanyMoveInfVO;
import com.cheng.data.vo.NoticeVO;
import com.cheng.data.vo.StatisticsVO;

import java.util.List;
import java.util.Map;

/**
 * @author: ChengJW
 * @date: 2021/12/18 8:56
 * @version: 1.0
 * @description:
 */
public interface CompanyMoveInfMapper extends BaseMapper<CompanyMoveInfEntity> {

    /**
    * @author: ChengJW
    * @params: [map]
    * @return: java.util.List<com.cheng.data.vo.CompanyMoveInfVO>
    * @date: 2021/12/20
    * @description: 查询可迁出企业列表
    */
    List<CompanyMoveInfVO> queryCompanyMoveList(Map<String,Object> map);

    /**
    * @author: ChengJW
    * @params: [map]
    * @return: java.util.List<com.cheng.data.vo.StatisticsVO>
    * @date: 2021/12/20
    * @description: 统计单个单位的迁移情况
    */
    List<StatisticsVO> queryStatisticsMvVOListByCode(Map<String,Object> map);

    /**
     * @author: ChengJW
     * @params: [map]
     * @return: java.util.List<com.cheng.data.vo.StatisticsVO>
     * @date: 2021/12/20
     * @description: 统计所有单位的迁移情况
     */
    List<StatisticsVO> queryStatisticsMvVOList(Map<String,Object> map);

    /**
    * @author: ChengJW
    * @params: [map]
    * @return: com.cheng.data.vo.NoticeVO
    * @date: 2021/12/21
    * @description: home 页面待迁移企业提醒
    */
    NoticeVO queryMoveNoticeVO(Map<String,Object> map);
}
